package com.bearhy.jqadmin.config;

import org.springframework.context.annotation.Configuration;

/**
 * spring boot中 bean的定义，取代传统的在xml文件中配置bean
 */
@Configuration
public class BeanConfig {

    /**
     * 等同于 xml文件中定义如下:
     * <bean id="simpleMailMessage" class="org.springframework.mail.SimpleMailMessage"></bean>
     * @return
     */
    /*@Bean
    public SimpleMailMessage getSimpleMailMessage(){
        return new SimpleMailMessage();
    }*/

}
